import request from '@/request'

import store from '@/store'
export const userInfo = () => {
    return request({
        url: 'personal/userinfo',
        method: 'get',
        headers: {
            'Content-Type': 'application/json;charset=UTF-8',
            'token': store.state.user.token,
        },
    })
}